package cn.hwadee.muying.mapper;

import cn.hwadee.muying.entity.Reception;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import cn.hwadee.muying.entity.User;
import cn.hwadee.muying.commons.page.MyPage;
import java.util.List;

/**
 * <p>
 * 接待情况 Mapper 接口
 * </p>
 *
 * @author Mankind
 * @since 2018-08-06
 */
@Mapper
@Component(value = "receptionMapper")
public interface ReceptionMapper extends BaseMapper<Reception> {

    List<Reception> list(@Param("page") MyPage<Reception> page, @Param("cUser") User cUser,@Param("status") Integer status) throws Exception;

    List<Reception> selectFollowedClient(@Param("user")User cUser);
}
